package com.xdf.xzymanagementsystem.dao;

import org.springframework.stereotype.Repository;
import java.util.List;
import com.xdf.xzymanagementsystem.entity.JcEmployee;
import org.apache.ibatis.annotations.Param;
import com.xdf.xzymanagementsystem.util.Example;
/**
* @Description : 部门员工
* @Author : 张柯
* @Date : 2020-12-31 14:42:38
*/
@Repository
public interface JcEmployeeMapper{
    int insert(JcEmployee record);

    int insertSelective(JcEmployee record);

    int multiInsert(List<JcEmployee> list);

    int insertDumplicateKeyUpdate(JcEmployee record);

    int updateByPrimaryKey(JcEmployee record);

    int updateByPrimaryKeySelective(JcEmployee record);

    int multiUpdate(List<JcEmployee> list);

    int deleteByPrimaryKey(Integer id);

    JcEmployee selectByPrimaryKey(Integer id);

    List<JcEmployee> selectAll();

    List<JcEmployee> selectByParam(JcEmployee record);

    int updateByExampleSelective(@Param("record") JcEmployee record,@Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<JcEmployee> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") JcEmployee record,@Param("example") Example example);

    long countByExample(@Param("example") Example example);

}